﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:controls="clr-namespace:Peter.Common.Controls">
   
   <Style TargetType="{x:Type controls:PaneItem}">
      <Setter Property="Padding"
              Value="15" />
      <Setter Property="FontSize"
              Value="14" />
      <Setter Property="Template">
         <Setter.Value>
            <ControlTemplate TargetType="{x:Type controls:PaneItem}">
               <Border Padding="{TemplateBinding Padding}"
                       Margin="0"
                       CornerRadius="0,0,5,5"
                       BorderThickness="0,1,0,0"
                       BorderBrush="{DynamicResource MainBorderBrush}">
                  <ContentPresenter Content="{TemplateBinding Content}" />
               </Border>
            </ControlTemplate>
         </Setter.Value>
      </Setter>
   </Style>
   
</ResourceDictionary>